package com.example.feign;

import com.example.feign.impl.ProFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Classname ProFeignService
 * @Description TODO
 * @Date 2022/3/27 11:31
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@FeignClient(value = "demo-web",fallback = ProFeignServiceImpl.class)
public interface ProFeignService {

    @GetMapping("/feign/v1")
    public String v1String();
}
